/**
 * 
 */
package com.mareas.web.service.impl;

import java.util.List;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

import org.springframework.stereotype.Service;

import com.mareas.web.dao.Dao;
import com.mareas.web.model.integration.InformeClienteDTO;
import com.mareas.web.service.InformeClienteService;

/**
 * @author victor
 *
 */
@Service
@ManagedBean
@ApplicationScoped
public class InformeClienteServiceImpl implements InformeClienteService {
	
	private Dao dao;
	
	
	public Dao getDao() {
		return dao;
	}

	public void setDao(Dao dao) {
		this.dao = dao;
	}

	public List<InformeClienteDTO> getListadoClientes() {
		 List<InformeClienteDTO> listadoClientes = this.dao.obtenerListadoInformeCliente();
		 return listadoClientes;
	}
	
	
	public List<InformeClienteDTO> getListadoClientesPeriodo(Integer clienteIdParam) {
		 List<InformeClienteDTO> listadoClientes = this.dao.obtenerListadoInformeClientePeriodo(clienteIdParam);
		 return listadoClientes;
	}
	

}
